<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class baseController extends MY_Controller{
	public function __construct(){
		parent::__construct();
		$this->session->set_userdata(array('userID'=> '421'));
		$filePathUser= array(
				'filePath'=>"./user/".findPath( $this->session->userdata('userID') )."/"
		);
		$this->session->set_userdata($filePathUser);
	}
	
	public function loadView($data = null){
		$this->load->view('templates',$data);
	}
	public function loadStatic($template,$data = null){
		return $this->load->view($template,$data,TRUE);
	}
}
